package org.ws.task.model.protocol;

import org.ws.task.model.TaskItem;

import java.io.Serializable;
import java.util.Collection;

public class PullItemResponse<T> implements Serializable {
    /**
     * 任务
     */
    private String taskName;
    private Integer index=-1;
    private Collection<TaskItem<T>> items;

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Collection<TaskItem<T>> getItems() {
        return items;
    }

    public void setItems(Collection<TaskItem<T>> items) {
        this.items = items;
    }
}
